package com.example.designmode.adapter.classadapter


/**
 * SDCardImpl
 * 目标接口实现类
 *
 * @author zhouronghua
 * @time 2022/3/10 10:54 下午
 */
class SDCardImpl : SDCard {
    override fun readSDCard(): String {
        println("从SD卡读数据")
        return "SD卡读取到字符串"
    }

    override fun writeSDCard(content: String) {
        println("往SD卡写数据 $content")
    }
}